export default [
  // 维修预约 保养预约
  // is repair-维修 protect-保养
  {
    path: '/appoint_native/:is', // 选车型
    name: 'appoint_native',
    component: resolve => {
      require.ensure([], function (require) {
        resolve(require('../pages/appointment/appoint_native'))
      }, 'appoint')
    },
    meta: {
      title: '爱车服务',
      auth: true,
			keepAlive: true,
			native:true
    }
  },
  // 领取服务项目的优惠券
  {
    path: '/coupon_native', // 优惠券
    name: 'coupon_native',
    component: resolve => {
      require.ensure([], function (require) {
        resolve(require('../pages/appointment/coupon_native'))
      }, 'appoint')
    },
    meta: {
      title: '优惠券',
      auth: true
    }
  },
  // 预估服务费用详情
  {
    path: '/estimate_native', // 服务费用
    name: 'estimate_native',
    component: resolve => {
      require.ensure([], function (require) {
        resolve(require('../pages/appointment/estimate_native'))
      }, 'appoint')
    },
    meta: {
      title: '预估费用',
      auth: true
    }
  }
]